import { UseGuards, applyDecorators } from '@nestjs/common'
import { AuthGuard } from '@nestjs/passport'

export const AuthJWT = () => {
   return applyDecorators(UseGuards(AuthGuard('jwt')))
}
